+Sat Jul 31 19:19:47 CEST 1999
+
+ * src/gdk-pixbuf-io.c:
+ * src/io-png.c: Fixed two obvious C syntax bugs
+
1999-07-29 Mark Crichton <crichton@gimp.org>
* src/io-png.c (image_save): Added PNG saving function
gboolean (*format_check)(unsigned char *buffer, int size);
GModule *module;
GdkPixBuf *(*load)(FILE *f);
- int (*save)(GdkPixBuf, *p, FILE *f, ...);
+ int (*save)(GdkPixBuf *p, FILE *f, ...);
} file_formats [] = {
{ "png", pixbuf_check_png, NULL, NULL, NULL },
{ "jpeg", pixbuf_check_jpeg, NULL, NULL, NULL },
png_color_8 sig_bit;
gint type;
- g_return_val_if_fail(f != NULL, NULL);
+ g_return_val_if_fail(file != NULL, NULL);
g_return_val_if_fail(pixbuf != NULL, NULL);
h = pixbuf->art_pixbuf->height;